import {RouterModule, Routes} from "@angular/router";
import {NgModule} from "@angular/core";
import {NoticeListComponent} from "./notice-list/notice-list.component";

const routes: Routes = [
  {
    path: '',
    component: NoticeListComponent,
    data: {title: '公告', module: '/system/notice', power: 'SHOW'},
    children: []
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})

export class NoticeRoutingModule {}
